package com.ruibang.glass.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruibang.glass.common.utils.validateannotation.NotBlank;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class DictResp implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @NotBlank(message = "code 不能为空")
    private String code;

    @NotBlank(message = "名称信息 不能为空")
    private String name;

    private String description;

    @ApiModelProperty(value = "分组信息")
    @NotBlank(message = "分组信息 不能为空")
    private String groupType;

    private String value;

    @ApiModelProperty(value = "样式")
    private String style;
}
